package it.polimi.TravelDream.ejb.dtos;

import org.hibernate.validator.constraints.NotEmpty;

public class AddressDTO {
	
	@NotEmpty
	private String street;
	private int streetNumber;
	@NotEmpty
	private String city;
	@NotEmpty
	private String cap;
	@NotEmpty
	private String district;
	@NotEmpty
	private String nation;
	
	public String getStreet() {
		return street;
	}
	public void setStreet(String street) {
		this.street = street;
	}
	public int getStreetNumber() {
		return streetNumber;
	}
	public void setStreetNumber(int streetNumber) {
		this.streetNumber = streetNumber;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getCap() {
		return cap;
	}
	public void setCap(String cap) {
		this.cap = cap;
	}
	public String getDistrict() {
		return district;
	}
	public void setDistrict(String district) {
		this.district = district;
	}
	public String getNation() {
		return nation;
	}
	public void setNation(String nation) {
		this.nation = nation;
	}
	
}
